<html>
<head>
	<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1.0, maximum-scale=1.0, minimal-ui" />
	<meta property="og:url" content = ""/>
	<meta property="og:image" content="<?php echo SITE_URL;?>img/logo.png"/>
	<meta property="og:title" content="Starbucks Launch in Chennai" />
	<meta property="og:description" content="Warm up to Starbucks! Share your excitement through special moments with your friends and win an invite to the Starbucks launch in Chennai!">
	<title>Starbucks Launches in Chennai</title>
	<link href="css/bootstrap.min.css" type="text/css" rel="stylesheet"/>
	<link href="css/jquery.countdown.css" type="text/css" rel="stylesheet"/>
	<link href="css/style.css" type="text/css" rel="stylesheet"/>
	<link href="//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.1.0/css/font-awesome.css" type="text/css" rel="stylesheet">
	<script src="js/jquery-1.11.1.min.js" type="text/javascript"></script>
	<script src="js/bootstrap.min.js" type="text/javascript"></script>
	<script src="js/jquery.plugin.js" type="text/javascript"></script>
	<script src="js/jquery.countdown.min.js" type="text/javascript"></script>
	<script type="text/javascript">
		var numb = 10;
		var myDate = new Date('Fri Jul 04 2013 14:52:01 GMT+0530 (IST)');
		function test_countdown(){
			var myTestVar = setInterval(function(){
				//console.log(--numb)
				--numb;
				$('#test').html(numb + ' ' + 'MINUTES REMAINING');
				if(numb == 0){
					window.clearInterval(myTestVar);
				} 
			 }
			,3000);
		}
		
		$(function(){
				//test_countdown();
			setInterval('swap_images()', 5000);
			var myTestVarDoc = setInterval(function(){
				//console.log('working1');
				var test_date = new Date();
				if(test_date > myDate){
					//console.log('working');
					window.clearInterval(myTestVarDoc);
					test_countdown();	
				}
				},1000);
			$('#coffee_fill').animate({'height':'90%'},21600000); //6 hours
			var currDate = new Date();
			var newDate = new Date("July "+currDate.getDate()+", 2014 17:00:00");
			$('#defaultCountdown').countdown({until: newDate,layout:'<span class="countdown-row countdown-show4"><span class="countdown-section"><div class="disp_inline"><span class="countdown-amount">{hn}</span><span class="countdown-period">{hl}</span></div><div class="disp_inline ctdwn_dots"><span class="countdown_dots">:</span></div></span><span class="countdown-section"><div class="disp_inline"><span class="countdown-amount">{mn}</span><span class="countdown-period">{ml}</span></div><div class="disp_inline ctdwn_dots"><span class="countdown_dots">:</span></div></span><span class="countdown-section"><span class="countdown-amount">{sn}</span><span class="countdown-period">{sl}</span></span></span>'}); 	
		});
		function swap_images(){
			var $active = $('#grid_img .active');
			var $next = ($('#grid_img .active').next().length > 0) ? $('#grid_img .active').next() : $('#grid_img img:first');
			$active.fadeOut(function(){
				$active.removeClass('active');
				$next.fadeIn().addClass('active');
			});
		}
	</script>
	<style>
#coffee_mug_bg1 {
height: 426px;
position: absolute;
width: 291px;
left: 60;
z-index: -1;
top: 59px;
background: white;
overflow: hidden;
}
	</style>
</head>
<body>

<div class="container-fluid padding_removal">
	<div class="row">
		<div id="countdown_wrapper" class="col-lg-12 col-md-12 col-sm-12 col-xs-12" style="border-top: 3px solid #248b00;">
			<div id="defaultCountdown" class="col-lg-8 col-md-8 col-sm-12 col-xs-12 col-lg-offset-3 col-md-offset-3"></div>
		</div>
	</div><!-- rows ends -->
	<div id="section2" class="row">
		<div class="col-lg-12 col-lg-offset-3" style="padding-top: 35px;">
			 <div class="col-lg-3" style="text-align: center;">
			 		 <div class="row">
			 		 	<div class="col-lg-12">
					 		<div class="warm_up_left">WARM UP TO STARBUCKS</div>
			 		 	</div>
			 		 </div>
			         <div class="row">
						 <div class="col-lg-10" style="margin-left: 48px;">
							<div id="coffee_mug_bg1">
							 	<div id="coffee_fill"></div>
							 	<div id="coffee_overlay"></div>
							</div>
						 	<img class="width-100"  src="/img/3dCupStarbucks.png"/>
						 </div>
			         </div>
			         <div class="row">
			 		 	<div class="col-lg-12">
				 		 	<div class="log_on_left">LOG ON TO<br/><span style="color:#248b00;">WWW.WARMUPTOSTARBUCKS.IN</span><br/>AND SHARE YOUR PASSION FOR
				 		 	COFFEE!</div>
			 		 	</div>
			 		 </div>
			 </div>
			 <div class="col-lg-6">
				 	<div id="grid_img" class="col-lg-8">
					 		<img class="width-100 active" src="/img/Starbucks_LED_Grid1.jpg"/>
					 		<img class="width-100" src="/img/Starbucks_LED_Grid2.jpg"/>
					 		<img class="width-100" src="/img/Starbucks_LED_Grid3.jpg"/>
					 		<img class="width-100" src="/img/Starbucks_LED_Grid4.jpg"/>
					 		<img class="width-100" src="/img/Starbucks_LED_Grid5.jpg"/>
					 		<img class="width-100" src="/img/Starbucks_LED_Grid6.jpg"/>
					 		<img class="width-100" src="/img/Starbucks_LED_Grid7.jpg"/>
					</div>
			 </div>
		</div> 
	</div><!--row ends-->
</div>
</body>
</html>
